﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesBSW.DAL.MesDB
{
    [Serializable]
    [Table("prodbill_point")]
    public class ProdPointSMT
    {
        /// <summary>
        /// ID，主键，自增长
        /// </summary>
        [Column("id"),Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        /// <summary>
        /// 工单号
        /// </summary>
        [Column("prod_number")]
        public string ProdNumber { get; set; }


        /// <summary>
        /// 工单数量 
        /// </summary>
        [Column("orderqty")]
        public decimal? OrderQty { get; set; }


        /// <summary>
        /// 总点数（按工单总数量计算）
        /// </summary>
        [Column("pointscount")]
        public decimal? PointTotal { get; set; }


        /// <summary>
        /// SMT点数（按PCB计算）
        /// </summary>
        [Column("pcbpointqty")]
        public decimal? PointPCB { get; set; }


        /// <summary>
        /// SMT点数（按工单单位数量计算）
        /// </summary>
        [Column("pcpointqty")]
        public decimal? PointUnit { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        [Column("modifydate")]
        public DateTime? ModityDate { get; set; }
    }
}
